package com.tul.vapp.servicecenter.bean;

/**
 * EMS配置
 * 
 * <pre>
 * ems.ip=127.0.0.1
 * ems.port=54351
 * ems.id=10000
 * ems.name=EMS代理1
 * u2000.servicename=fiberhome
 * u2000.ip=10.170.120.31
 * u2000.port=52001
 * u2000.name=admin
 * u2000.pwd=admin
 * </pre>
 * 
 * @author wwxiang
 * @since 2018/1/16.
 */
public class EmsConfig {
	/**
	 * ems.id
	 */
	private String emsId;
	/**
	 * ems.ip
	 */
	private String emsIp;
	/**
	 * ems.port
	 */
	private int emsPort;
	/**
	 * ems.name
	 */
	private String emsName;
	/**
	 * u2000.ip
	 */
	private String u2kIp;
	/**
	 * u2000.port
	 */
	private int u2kPort;
	/**
	 * u2000.name
	 */
	private String u2kName;
	/**
	 * u2000.pwd
	 */
	private String u2kPwd;

    /**
     * 是否需要重启
     */
    private boolean needRestart = true;
    /**
     * 是否发布
     */
    private boolean release;
    /**
     * 0:已发布 1新增 2 修改 3删除
     */
    private int status;
    /**
     * app的id
     */
    private int aid;

    public boolean isNeedRestart() {
        return needRestart;
    }

    public void setNeedRestart(boolean needRestart) {
        this.needRestart = needRestart;
    }

    public boolean isRelease() {
        return release;
    }

    public void setRelease(boolean release) {
        this.release = release;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

	public String getEmsIp() {
		return emsIp;
	}

	public void setEmsIp(String emsIp) {
		this.emsIp = emsIp;
	}

	public int getEmsPort() {
		return emsPort;
	}

	public void setEmsPort(int emsPort) {
		this.emsPort = emsPort;
	}

	public String getEmsId() {
		return emsId;
	}

	public void setEmsId(String emsId) {
		this.emsId = emsId;
	}

	public String getEmsName() {
		return emsName;
	}

	public void setEmsName(String emsName) {
		this.emsName = emsName;
	}

	public String getU2kIp() {
		return u2kIp;
	}

	public void setU2kIp(String u2kIp) {
		this.u2kIp = u2kIp;
	}

	public int getU2kPort() {
		return u2kPort;
	}

	public void setU2kPort(int u2kPort) {
		this.u2kPort = u2kPort;
	}

	public String getU2kName() {
		return u2kName;
	}

	public void setU2kName(String u2kName) {
		this.u2kName = u2kName;
	}

	public String getU2kPwd() {
		return u2kPwd;
	}

	public void setU2kPwd(String u2kPwd) {
		this.u2kPwd = u2kPwd;
	}
}
